/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-10-09 20:40:19
 * @LastEditors: rendc
 * @LastEditTime: 2024-10-09 20:45:01
 */
import java.util.ArrayList;
import java.util.List;
public class Return2{
    public static void main(String[] args){
        System.out.println(testReturn2());
    }

    private static List<Integer>
    testReturn2(){
        List<Integer> list = new ArrayList<>();
        try{
            list.add(1);
            System.out.println("try:" + list);
            return list;
        }finally{
            list.add(3);
            System.out.println("finally:" + list);
        }
    }
}